package com.bigdata.appliance.vo.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class LoginRespVO {
    @ApiModelProperty(value = "用户ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("钱包")
    private BigDecimal wallet;

    @ApiModelProperty("用户类型")
    private Integer type;
}

